DataConnector | ComponentOne
C1.AdoNet.OData Assembly / C1.DataConnector.AdoNet Namespace / C1CommandBase<TCommandImpl> Class / ExecuteNonQueryCoreAsync Method
The statement to be executed as non query.
The cancellation token to abort the operation at any moment.
The source table to be sued to perform the non query.

In This Topic
    ExecuteNonQueryCoreAsync Method (C1CommandBase<TCommandImpl>)
    In This Topic
    The abstract core method provided to execute a non-query statement.
    Syntax
    'Declaration
     
    Protected MustOverride Function ExecuteNonQueryCoreAsync( _
       ByVal statement As ISQLStatement, _
       ByVal token As CancellationToken, _
       Optional ByVal sourceTable As SourceTable _
    ) As Task(Of Integer)
    protected abstract Task<int> ExecuteNonQueryCoreAsync( 
       ISQLStatement statement,
       CancellationToken token,
       SourceTable sourceTable
    )

    Parameters

    statement
    The statement to be executed as non query.
    token
    The cancellation token to abort the operation at any moment.
    sourceTable
    The source table to be sued to perform the non query.

    Return Value

    The number rows effected. Otherwise, -1 when an error happens.
    See Also